package com.WISSC.serviceImpl;

import com.WISSC.bean.ExperienceUser;
import com.WISSC.bean.IndividualEvent;
import com.WISSC.mapper.ExperienceUserMapper;
import com.WISSC.service.ExperienceUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 赛事个人信息和赛事经历关联表 服务实现类
 * </p>
 *
 * @author 张凯
 * @since 2019-05-06
 */
@Service
public class ExperienceUserServiceImpl extends ServiceImpl<ExperienceUserMapper, ExperienceUser> implements ExperienceUserService {

    @Override
    public boolean removeByIndividualEventId(Long id) {
        if (baseMapper.remove(id) > 0) {
            return true;
        }
        return false;
    }
}
